package com.txl.pager;

public class QueryInfo {

	private int currentpage = 1;  //用户当前看的页
	private int pagesize = 5;  //记住用户想看的页面大小
	private int startindex;  //记住用户看得页的数据在数据库库的起始位置
	private String groupid;//局部查找条件
	
	public String getGroupid() {
		return groupid;
	}
	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}
	public int getCurrentpage() {
		return currentpage;
	}
	public void setCurrentpage(int currentpage) {
		this.currentpage = currentpage;
	}
	public int getPagesize() {
		return pagesize;
	}
	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}
	public int getStartindex() {
		this.startindex = (this.currentpage-1)*this.pagesize;
		return startindex;
	}
}
